package com.springbootmybatis.dao;

import com.springbootmybatis.entity.DailyPlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DailyPlanDao {

    void insert(DailyPlan dailyPlan);

    void update(DailyPlan dailyPlan);

    DailyPlan getDailyPlanById(Long id);

    List<DailyPlan> getDailyPlanList(@Param("current") Long current, @Param("size") Long size);

    void deleteById(Long id);
}
